//#include "gd32f30x.h"
//#include "string.h"
//#include "stdint.h"
//#include "stdio.h"

////#include "DriverBootloader.h"

//#include "version.h"


///* 固件地址存储 APP 版本信息 */
////const char cVersionAppHardBuff[32]  __attribute__((at(FLASH_APP_ADDR + 0x800))) = PD_VERSION_APP_HARDWARE;
////const char cVersionAppSoftBuff[32]  __attribute__((at(FLASH_APP_ADDR + 0x820))) = PD_VERSION_APP_SOFTWARE;
////const char cVersionAppDateBuff[32]  __attribute__((at(FLASH_APP_ADDR + 0x840))) = __DATE__" - "__TIME__;
////const char cVersionAppTypeBuff[32]  __attribute__((at(FLASH_APP_ADDR + 0x860))) = "P12S_APP";

//const char cVersionAppHardBuff[32] = PD_VERSION_APP_HARDWARE;
//const char cVersionAppSoftBuff[32] = PD_VERSION_APP_SOFTWARE;
//const char cVersionAppDateBuff[32]  = __DATE__" - "__TIME__;
//const char cVersionAppTypeBuff[32]  = "P12S_APP"; 


///* 获取 Boot 版本信息 */
//char *pcVersionBootHardGet(void)
//{
//    return (char *)(FLASH_BOOT_ADDR + 0x800);
//}

//char *pcVersionBootSoftGet(void)
//{
//    return (char *)(FLASH_BOOT_ADDR + 0x820);
//}

//char *pcVersionBootDateGet(void)
//{
//    return (char *)(FLASH_BOOT_ADDR + 0x840);
//}

//char *pcVersionBootTypeGet(void)
//{
//    return (char *)(FLASH_BOOT_ADDR + 0x860);
//}


///* 获取 Bootloader 版本信息 */
//char *pcVersionBootloaderHardGet(void)
//{
//    return (char *)(FLASH_BOOTLOADER_ADDR + 0x800);
//}

//char *pcVersionBootloaderSoftGet(void)
//{
//    return (char *)(FLASH_BOOTLOADER_ADDR + 0x820);
//}

//char *pcVersionBootloaderDateGet(void)
//{
//    return (char *)(FLASH_BOOTLOADER_ADDR + 0x840);
//}

//char *pcVersionBootloaderTypeGet(void)
//{
//    return (char *)(FLASH_BOOTLOADER_ADDR + 0x860);
//}


///* 获取 APP 版本信息 */
//char *pcVersionAPPHardGet(void)
//{
//    return (char *)(FLASH_APP_ADDR + 0x800);
//}

//char *pcVersionAPPSoftGet(void)
//{
//    return (char *)(FLASH_APP_ADDR + 0x820);
//}

//char *pcVersionAPPDateGet(void)
//{
//    return (char *)(FLASH_APP_ADDR + 0x840);
//}

//char *pcVersionAPPTypeGet(void)
//{
//    return (char *)(FLASH_APP_ADDR + 0x860);
//}
